using System;
using System.Collections.Generic;
using System.Text;

namespace MCromwell.StaffIntranet.Core
{
    public class Credentials
    {
        private string username = string.Empty;
        private string password = string.Empty;

        public Credentials()
        {
        }

        public Credentials(string username, string password)
        {
            if (!string.IsNullOrEmpty(username))
                this.username = username;

            if (!string.IsNullOrEmpty(password))
                this.password = password;
        }

        public string Username
        {
            get { return username; }
            internal set { username = value; }
        }

        public string Password
        {
            get { return password; }
            internal set { password = value; }
        }
    }
}
